package cn.org.rookie.jeesdp.core;

import lombok.Data;

import java.util.List;

@Data
public class Tree {
    private String id;
    private String value;
    private String label;
    private String parent;
    private List<Tree> children;

    @Override
    public String toString() {
        return "Tree{" +
                "id='" + id + '\'' +
                ", value='" + value + '\'' +
                ", label='" + label + '\'' +
                ", parent='" + parent + '\'' +
                ", children=" + children +
                '}';
    }
}
